package com.up.vms.domain.shared;

/**
 * Created by wangshd on 2018/11/19.
 */
public interface Entity<T> {



    /**
     * Entities compare by identity, not by attributes.
     *
     * @param other The other entity.
     * @return true if the identities are the same, regardless of other attributes.
     */
    boolean sameIdentityAs(T other);





}
